//
//  DemoViewController.swift
//  weibo
//
//  Created by shizb macbook air on 17/8/1.
//  Copyright © 2017年 YL. All rights reserved.
//

import UIKit

class DemoViewController: WBBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
    }
    func rightBtn(){
        let vc=DemoViewController()
        navigationController?.pushViewController(vc, animated: true)
        
    }

}

extension DemoViewController{
    override func setupUI() {
        super.setupUI()
        navItem.rightBarButtonItem=UIBarButtonItem(title: "下一个", fontSize: 12, taget: self, action: #selector(rightBtn))
    }
}














































